/*--------------------------------*- C++ -*----------------------------------*\
  =========                |
  \      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \    /   O peration     | Website:  https://openfoam.org
    \  /    A nd           | Version:  7
     \/     M anipulation  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

convertToMeters 1;

vertices
(
    (0 0 0)
    (5 0 0)
    (10 0 0) 
    (10 10 0)
    (5 10 0)
    (0 10 0)
    (0 0 1)
    (5 0 1)
    (10 0 1) 
    (10 10 1)
    (5 10 1)
    (0 10 1)
);

blocks
(
    hex (0 1 4 5 6 7 10 11) (40 40 1) simpleGrading (0.5 1 1)
    hex (1 2 3 4 7 8 9 10) (40 40 1) simpleGrading (2 1 1)
);

edges
(
);

boundary
(

    top
    {
        type patch;
        faces
            (
                (5 4 10 11)
                (4 3 9 10)
            
            );
    }

    inlet
    {
        type patch;
        faces
            (
                (0 1 7 6)
                (1 2 8 7)
            );
    }   
    axis   
    {
        type wall;
        faces
            (
                (0 5 11 6)
                (2 3 9 8)
            );
    }
    
    frontAndBack 
    {
        type empty;
        faces
            (
                (0 1 4 5)
                (1 2 3 4)
                (6 7 10 11)
                (7 8 9 10)
            );
    }

);

// ************************************************************************* //
